projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79e28a1
)
tests: Fix root uid check in test-commit-sign.sh
author
Matthew Barnes
<mbarnes@redhat.com>
Tue, 14 Apr 2015 12:53:48 +0000
(08:53 -0400)
committer
Matthew Barnes
<mbarnes@redhat.com>
Tue, 14 Apr 2015 12:53:48 +0000
(08:53 -0400)
tests/test-commit-sign.sh
patch
|
blob
|
history
diff --git
a/tests/test-commit-sign.sh
b/tests/test-commit-sign.sh
index 01a3a2ed1eabc9e952d1f74259cd1b177c91ff72..0db0048f1c1526a663d75e19d67a215c25d0cdfd 100755
(executable)
--- a/
tests/test-commit-sign.sh
+++ b/
tests/test-commit-sign.sh
@@
-25,7
+25,7
@@
fi
# Skip the test when non-root as gpgme would not read files owned by
# another user.
-if test "$(id -
i
)" != "0"; then
+if test "$(id -
u
)" != "0"; then
exit 77
fi